package com.xpec.c4.service.message;


/**
 * 消息基类<br>
 * 非必要继承，只是为了得到额外的sessionID
 * @author Bany
 *
 * @since 2008-8-31 上午11:25:42
 *
 */

public class BasicMessage {
	
	/**
	 * 连接SESSION的ID
	 */
	protected String sessionID;
	
	/**
	 * 是否压缩
	 */
	protected boolean compress=false;
	
	/**
	 * 消息的优先级
	 */
	protected int priority=0;

	public String getSessionID() {
		return sessionID;
	}

	public void setSessionID(String sessionID) {
		this.sessionID = sessionID;
	}

	public boolean isCompress() {
		return compress;
	}

	public void setCompress(boolean compress) {
		this.compress = compress;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}




}
